﻿using System;

namespace CodeAuto.Models
{
    /// <summary>
    /// 数据表表
    /// </summary>
    public class T_Table
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 表名称
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 工程编号
        /// </summary>
        public int ProjectId { get; set; }

        public virtual T_Project Project { get; set; }

        public T_Table()
        {
            this.Id = int.MinValue;
            this.ProjectId = int.MinValue;
        }
    }
}
